package dao;

import java.util.List;

import pojo.Product;
import pojo.User;

public interface ProductDao {

	//添加
	public String addProduct(Product p);
	
	public int deleteProduct(String pid);
	
	///根据wid 查询所有product
	public List<Product> findAllProduct(String wid);
	
	public List<Product> findAllProduct();
	
	public int updateProduct(Product p);
	
	public Product searchProdut(String pid);
}
